package com.hockeo.tinygds.wrappers;

import java.io.Serializable;

/**
 * Wrapper around the GAE GeoPt class.
 *
 * @version $Id$
 * @author jjanke
 */
public class TGeoPt implements Serializable, TGAEWrapper
{
  private static final long serialVersionUID = 1L;

  private float             d_flLatitude;

  private float             d_flLongitude;

  /** Argument-less constructor for GWT/RPC. */
  private TGeoPt()
  {}

  /**
   * Constructs a new geographical point.
   *
   * @param flLatitude the location's latitude
   * @param flLongitude the location's longitude
   */
  public TGeoPt( float flLatitude, float flLongitude )
  {
    d_flLatitude = flLatitude;
    d_flLongitude = flLongitude;
  }

  public float getLatitude()
  {
    return d_flLatitude;
  }

  public float getLongitude()
  {
    return d_flLongitude;
  }
}
